Release 10.1A: OpenEdge Development:
Progress Dynamics Advanced Development


Modifying the classes cached at startup

Any class in the class hierarchy can be cached automatically at startup to improve the performance of the application modules when they first run. You might want to consider adding the new classes you create to this list. If these classes are part of application components that are typically run, then you might improve the initial performance of your application by adding your classes to the list.

To do this, use the StartupCacheClasses session property to define a comma-separated list of classes, including your custom classes. If you want to define this attribute for one or more of the session types your users will be running in, select Session->Session Type Control from the Dynamics Administration menu. Find the session type, for example, ICFRuntime, and expand the node to display the Session Properties node. Right-click on the node and select Add Session Property.

Enter StartupCacheClasses as the Session Property or select it from the lookup, and enter your list of classes as the value. To cache all classes, use the wildcard value (*).

Note: The number of classes cached at startup might affect the time it takes to bootstrap a Progress Dynamics session. If you leave the property value blank, then classes are cached on demand, which reduces the initial time for bootstrapping a session.

To save this new property value, Select Session Generate Configuration File from the Administration window to create a new ICFCONFIG.XML file that stores your session values.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095